<template>
    <div>
        <UserAdminMyArticleHead ref="articles" />
        <router-view @component="routerView"></router-view>
    </div>
</template>

<script>
    import UserAdminMyArticleHead from './UserAdminMyArticle-head'
    export default {
        name: "UserAdminMyArticle",
        components:{
            UserAdminMyArticleHead,
        },
        mounted(){
            this.$emit("component","myArticle")
        },
        methods:{
            routerView(val){
                // this.component = val
                this.$refs.articles.getComponentClassify(val)
            },
        }
    }
</script>

<style scoped>

</style>
